package com.itlong.cloud.POJO.DTO.property;

import com.itlong.cloud.POJO.DTO.BaseDTO;
import com.itlong.cloud.POJO.VO.app.AppFloorDevicesVO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <desc>
 *       物业-添加访客DTO类
 * </desc>
 *
 * @createDate 2018/06/28
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PropertyAddVisitorDTO extends BaseDTO{
    private String passId;                  //访客密码id
    private String intervieweeName;         //受访人姓名
    private String visitorName;             //访客姓名
    private String visitorPhone;            //访客手机
    private String visitorIdCard;           //访客身份证
    private String countLimit;              //次数限制
    private String buildId;                 //楼栋id
    private String unitId;                  //单元id
    private String roomId;                  //房间id
    private String floorNum;                //楼层
    private String effectiveTime;           //时间限制
    private String visitorCause;            //访客事由
    private String imageStr;                //人脸图片
    private String idcardKey;               //身份证序号
    private String projectId;     //项目id
    private String deviceUniques;           //设备唯一码集合，多个以逗号隔开
    private String ownerUserId;             //业主userId
    private List<AppFloorDevicesVO> lists;  //当前房间业主的临时电梯权限
    private List<AppFloorDevicesVO> listAll;  //当前房间业主的所有电梯权限
    private Integer temporaryAuthType;      //临时权限设备类型 0全部 1部分设备
    private String appId;
    private String deviceType; //来源类型 5云对讲SDK 7人脸识API
    private String buildNum;  //楼栋编号（3位数字）
    private String unitNum;  //单元编号（2位数字）
    private String roomNum;  //房间编号
    private Integer sourceType=1; //添加访客来源 1代表物业系统 2代表物业APP
    private String requestId;   //请求编号
    private String appSecret;               //开发者密码
    private String responseTimestamp; //返回时间戳
    private Integer visitorQrCodeUsableTimes;       //访客次数
    private String visitTime;               //拜访时间
}
